package com.buddy.learn.javasource._collection;

import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author Buddy
 * @date 2021/5/8
 */
public class _ConcurrentHashMap {

    public static void main(String[] args) {
        HashMap hashMap = new HashMap();
        hashMap.put("1",1);
        ConcurrentHashMap<String,String> concurrentHashMap = new ConcurrentHashMap<>(16);
        concurrentHashMap.put("1","A");
        concurrentHashMap.get("1");
        concurrentHashMap.put(null,"abc");
        System.out.println(15&17);
    }
}
